package cn.qidd.keep.domain.document;


import cn.qidd.keep.domain.core.dict.ResourceType;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "resource")
public class Resource implements Serializable {
  @Id
  private String id;
  private ResourceType type;
  private String parentId;
  private String name;
  private String icon;
  private String url;
  private int sort;

}
